import HTTP from '@/utils/request'

export const getCourse = (params) => {
    return HTTP.request('GET', {
        url: '/system/schedule/listbyType',
        isToken: false,
        params
    })
}

export const reservationCourse = (data) => {
    return HTTP.request('POST', {
        url: '/system/reservation',
        data
    })
}